<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript BigInt</title>
</head>
<body>
<p>舍入可能会危及程序安全：</p>
<p>9007199254740992 等于 9007199254740993 吗？</p>

<p id="demo"></p>

<script>
  let x = 9007199254740992 === 9007199254740993;
  document.getElementById("demo").innerHTML = x;
</script>

</body>
</html>

<!--
输出结果：true
-->